Avoid `unwrap` when parsing lockfiles
authorAlex Crichton <alex@alexcrichton.com>
Wed, 4 Feb 2015 07:27:06 +0000 (23:27 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 4 Feb 2015 07:27:06 +0000 (23:27 -0800)
commit9a9ea5a4b88bef1c9dc38acc2e5af589a87fc196
tree833bec9c283ce07ad396411e345b366188f76475
parent2b9a3d6061a23874bbc7521534c69820c1bd78cd
Avoid `unwrap` when parsing lockfiles

Why not use `try!` instead!

Closes #1267
src/cargo/ops/lockfile.rs
tests/test_bad_config.rs